package org.nepu.sc.dict.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "词典新建参数")
public class SafeRateDictParams {
    @NotBlank(message = "评价指标不可为空")
    @ApiModelProperty(value = "评价指标")
    String rateId;

    @NotBlank(message = "评价名称不可为空")
    @ApiModelProperty(value = "评价名称")
    String rateName;
}
